<?php
/**
 * Created by PhpStorm.
 * User: liuguang
 * Date: 2017/12/23
 * Time: 下午2:54
 */
require_once './Order.php';
$objecy = new Order();
$array  = [0=>[1=>'a',2=>3,3=>0],1=>[1=>'b',2=>1,3=>1],2=>[1=>'c',2=>4,3=>1]];
$key    = [1,2,3];
$noun   = [3,2,1];
$res    = $objecy->orders($array,$key,$noun);
print_r($res);